<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../libs/layui/css/layui.css">
    <link rel="stylesheet" href="../mycss/index.css">
</head>
<body>
    <blockquote class="layui-elem-quote">
        <div class="layui-inline">
            <input type="text" id="key-value" lay-verify="required" placeholder="请输入任意关键字" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-inline button-group" >
            <button class="layui-btn active-btn" id="search-btn" style="background-color:#5FB878">主机搜索</button>
            <button class="layui-btn layui-btn-normal active-btn" id="fileUpload">文件上传</button>
            <button class="layui-btn active-btn">批量上传</button>
        </div>
        <div class="layui-inline" style="float:right">
        	<button class="layui-btn layui-btn-primary active-btn " id="loadHostList"><i class="layui-icon" >&#x1002;</i> 刷新页面</button>
        </div>
    </blockquote>
    <table class="layui-hide" id="file-host-table" lay-filter="file-hostinfo"></table>


    <!-- 通过返回的数据判断主机的连接状态 -->
     <script type="text/html" id="connStatus">
        {{#  if(d.conn_status == 0){ }}
        <a class="layui-btn layui-btn-sm "><i class="layui-icon">&#xe616;</i>成功</a>
        {{#  } else { }}
        <a class="layui-btn layui-btn-danger layui-btn-sm "><i class="layui-icon">&#x1007;</i>失败</a>
        {{#  } }}
    </script>
</body>
<script src="../libs/layui/layui.js"></script>
<script src="../myjs/index.js"></script>
<script src="../myjs/fileTransfer/fileTransfer.js"></script>
<script src="../libs/jquery.js"></script>
<script src="../libs/ajaxfileupload.js"></script>
</html>